Creating DRUID Bots

Welcome to the process of building your first DRUID conversational bot! This guide provides the essential, step-by-step instructions needed to go from an initial setup to a fully published bot with foundational conversational flows.

Step 1: Set up and name your bot

  1. Log in to your DRUID tenant.
  2. In the header, click on Bot and select Add New Bot.
  3. In the Create New Bot modal:
    • Enter a unique name for your bot in the Name field.
    • NOTE: Bot names must be unique within your tenant. If a name is already in use, the creation process will fail.

    • Choose the Default Language for the bot.
  4. Click Save. The page refreshes, opening the bot settings on the Details tab.

Step 2: Configure the bot appearance

On the bot settings page (Details tab), configure the bot appearance:

  1. Click the Theme section header.
  2. Enter an image URL in the Avatar image URL field to set your bot avatar.
  3. For advanced configuration, click Customize webchat and configure the desired webchat settings. For more information, see WebChat Common Styling and Behavior (Bot framework v4).
  4. Click Save at the bottom of the page to apply these settings.

Step 3: Select user roles

Bots interact only with users who are assigned specific security roles. Define which roles can access the bot.

  1. Click the Security tab.
  2. Click the Used by section header.
  3. Verify the default Admin and User roles are checked to allow all authenticated and unauthenticated users to interact with the bot.
  4. Select any additional roles based on your target audience.
  5. Click Save.

Step 4: Publish the bot

Publishing the bot is essential to make it functional and provision all the required resources in your DRUID environment.

  1. Click the Details tab.
  2. Click the Publish button at the bottom of the page.
  3. IMPORTANT! Bot publishing can take up to a minute. You can continue creating solutions and other configurations, but you can only chat with the bot after it is successfully published.
  4. After clicking Publish, a notification appears at the top of the page: “Request for provisioning was successfully sent!”. Monitor the bot provisioning status using the following color indicators:
    • Orange: The request is in progress.
    • Green: The request has been successfully completed.
    • Red: The process has failed. If bot publishing fails, please contact the DRUID Technical Team.
  5. After publishing, you can test the bot. Open the chat bubble on the right side and type your messages.

NOTE: The newly created bot currently lacks conversation flows, so it will respond with "Sorry, I don’t understand". You need to create / import a solution.

Step 5: Import DRUID Starter solution

After publishing, the bot lacks conversation flows. Import the DRUID Starter solution to give your bot foundational intelligence.

  1. On the header, click the Solution dropdown, and then select Import solution.
  2. In the Solution Library that opens, search for DRUID Starter and import the solution. The DRUID Starter includes definitions of system entities and common flows.
  3. Navigate back to the bot settings page and click the Dialogue management section header.
  4. Select the imported flows from the Welcome flow dropdown and the Intent not found flow dropdown.
  5. Click Save at the bottom of the page to save the bot configuration.